'use strict'

class RemoteCall {
    constructor() {
        this.remoteCall = {}
    }

    setCall(name, func) {
        this.remoteCall[name] = func
    }

    getCall(name) {
        return this.remoteCall[name]
    }
}

let remoteCall = new RemoteCall()
module.exports = remoteCall
